package com.dmw.vo.placeOrderVO;

import java.io.Serializable;

/**
 * 下单接口VO
 */
public class AddOrderVO implements Serializable {
    /*
        input
     */
    private String userId;//用户id
    private Integer schedulerId;//排期Id
    private Integer itemId;//商品Id
    private Integer cinemaId;//剧场Id
    private Integer sourceType;//订单来源(0:WEB端 1:手机端 2:其他客户端)
    private Integer isNeedInvoice;//是否需要发票（0：不需要 1：需要）
    private Integer invoiceType;//发票类型（0：个人 1：公司）
    private Integer invoiceHead;//发票抬头
    private String invoiceNo;//发票号
    private Integer isNeedInsurance;//是否需要保险(0：不需要 1:需要)
    private String seatPositions;//座位坐标使用(x1_y1,x2_y2,...的形式提交)
    private String linkIds;//下单中选择的联系人(7,8的形式提交)

    private String token;

    @Override
    public String toString() {
        return "AddOrderVO{" +
                "userId='" + userId + '\'' +
                ", schedulerId=" + schedulerId +
                ", itemId=" + itemId +
                ", cinemaId=" + cinemaId +
                ", sourceType=" + sourceType +
                ", isNeedInvoice=" + isNeedInvoice +
                ", invoiceType=" + invoiceType +
                ", invoiceHead=" + invoiceHead +
                ", invoiceNo='" + invoiceNo + '\'' +
                ", isNeedInsurance=" + isNeedInsurance +
                ", seatPositions='" + seatPositions + '\'' +
                ", linkIds='" + linkIds + '\'' +
                ", token='" + token + '\'' +
                '}';
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getSchedulerId() {
        return schedulerId;
    }

    public void setSchedulerId(Integer schedulerId) {
        this.schedulerId = schedulerId;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Integer getCinemaId() {
        return cinemaId;
    }

    public void setCinemaId(Integer cinemaId) {
        this.cinemaId = cinemaId;
    }

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    public Integer getIsNeedInvoice() {
        return isNeedInvoice;
    }

    public void setIsNeedInvoice(Integer isNeedInvoice) {
        this.isNeedInvoice = isNeedInvoice;
    }

    public Integer getInvoiceType() {
        return invoiceType;
    }

    public void setInvoiceType(Integer invoiceType) {
        this.invoiceType = invoiceType;
    }

    public Integer getInvoiceHead() {
        return invoiceHead;
    }

    public void setInvoiceHead(Integer invoiceHead) {
        this.invoiceHead = invoiceHead;
    }

    public String getInvoiceNo() {
        return invoiceNo;
    }

    public void setInvoiceNo(String invoiceNo) {
        this.invoiceNo = invoiceNo;
    }

    public Integer getIsNeedInsurance() {
        return isNeedInsurance;
    }

    public void setIsNeedInsurance(Integer isNeedInsurance) {
        this.isNeedInsurance = isNeedInsurance;
    }

    public String getSeatPositions() {
        return seatPositions;
    }

    public void setSeatPositions(String seatPositions) {
        this.seatPositions = seatPositions;
    }

    public String getLinkIds() {
        return linkIds;
    }

    public void setLinkIds(String linkIds) {
        this.linkIds = linkIds;
    }
}
